			<div class="divider inner-vs">
			    <img class="img-responsive" src="/uploads/ad/2018/06/shadow.png" tppabs="" alt="">
			</div><!-- /.divider -->

			<!-- ============================================== BEST SELLER ============================================== -->
<section class="best-seller wow fadeInUp">
    <div id="best-seller" class="module">
        <div class="module-heading home-page-module-heading">
            <h2 class="module-title home-page-module-title"><span>商品列表</span></h2>
        </div><!-- /.module-heading -->
        <div class="module-body">
            <div class="row books full-width">
                <div class="clearfix text-center">

                    {% for clo in clo_list|slice:'10' %}
                    <form action="{% url 'add_cart'%}" method="post" id="subform{{ clo.id }}">
                    {% csrf_token %}
                    <div class="col-md-3 col-sm-6">
                        <div class="book">
                            <a href="{% url 'detail' %}?did={{ clo.id }}" >
                                <div class="book-cover">
                                    <img width="140" height="212" alt="" src="/uploads/ad/2018/06/blank.gif"  data-echo="/uploads/{{ clo.image_url_i }}">
                                    <div class="tag">
                                        <span>热卖</span>
                                    </div>
                                 </div>
                            </a>
                            <div class="book-details clearfix">
                                <div class="book-description">
                                    <h3 class="book-title"><a href="{% url 'detail' %}?did={{ clo.id }}" tppabs="{% url 'detail' %}?did={{ clo.id }}">{{ clo.name }}</a></h3>
                                    <p class="book-subtitle">分类 <a href="#"> {{ clo.category.name }}</a></p>
                                    <small><i>销量：{{ clo.sales }}</i></small>
                                </div>
                                <div class="text-center">
                                    <div class="actions">
                                        <span class="book-price price">￥{{ clo.new_price }}</span>

                                            <div class="cart-action">
                                                <input type="hidden" name="chid" value="{{ clo.id }}">
                                                <a class="add-to-cart" title="加入购物车" href="#" onclick="document.getElementById('subform{{ clo.id }}').submit();">购物车</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                        </form>
                    {% endfor %}



                </div>
                <div class="view-more-holder col-md-12 center-block text-center inner-top-xs">
                <a role="button" class="btn btn-primary btn-uppercase" href="#">更多产品

                </a>
                </div>



            </div>
        </div>
    </div>
</section>